package com.powernode.bank.service;

import com.powernode.bank.execption.FailTransferExecption;
import com.powernode.bank.execption.MoneyNotEnoughExecption;

public interface AccountService {
    /**
     * 转账接口
     * @param fromAct
     * @param toAct
     * @param money
     */
    void transfer(String fromAct,String toAct,double money) throws MoneyNotEnoughExecption, FailTransferExecption;
}
